home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Games
/
Tetris
/
Source
/
Tetris.nib
(
.txt
)
< prev
next >
Wrap
NeXT TypedStream Data
|
1975-04-26
|
16KB
|
376 lines
typedstream
StreamTable
HashTable
Object
[20c]
typedstream
[1787c]
typedstream
HashTable
Object
Minimatrix
HeaderClass
%%%%i@@
viewnib
TetApp
Application
/usr/include/sys/message.h
appnib
aCheater
level
tetrisWindow
scoreKeeper
levelRight
controlWindow
scenerioObj
startButton
pauseDisplay
showNextSwitch
pauseButton
showNext
colorSwitch
randomField
randomSlider
levelLeft
tetrisView
controlBox
pause:
appDidInit:
setRandomRows:
start:
windowWillMiniaturize:
levelLeft:
terminate:
adjustColor:
levelRight:
Piece
genericobject_nib
anmShape
Cheater
anmBackground
bitmap
left:
right:
drop:
draw:
turn:
stick:
FirstResponder
firstnib
checkSpelling:
alignSelCenter:
unscript:
pasteFont:
runPageLayout:
superscript:
copyRuler:
copyFont:
selectAll:
pasteRuler:
toggleRuler:
showGuessPanel:
alignSelLeft:
paste:
performClose:
arrangeInFront:
subscript:
copy:
alignSelRight:
delete:
orderFrontColorPanel:
underline:
performMiniaturize:
NextMatrix
thePiece
setCheating:
showNext:
setShapeNum:
ScoreKeeper
levels
score
scoresWindow
scores
names
nameField
nameFieldEnd:
windowWillClose:
Scenario
InspectorWindow
open:
saveAs:
setBlock:
save:
setBackground:
showLevel:
TetMatrix
randomFields
Parser
[14145c]
typedstream
HashTable
Object
Bitmap
Tetris
iii00
[576c]UUUUUUUUUUUUUUUUUUaUUUUUUUUUUUaUUUUUUUUUYUaUUUUUUUUUYU
UUUUUUUUUYU
UUUUUUUUU]U
UUUUUUUUU]V
UUUUUUUUoVD
UUUUUUUU
UUUUUUYV
UUUUUUU[
UUUUUUYn
DAUUUUUUYn
UUUUUUYn
eUUUUUz[
UUUUUU
eUUUUW
eUUUU^
UUUU^
UUUUZ
fUUUUU
UUUUU
UQUXD
UUUUUUUP
UUUUUUUUUUUUUUUUUUUUUUUUUU
NibData
@@@@s
Storage
{*@@}
[103{*@@}]
File's Owner
CustomObject
TetApp
WindowTemplate
iiii***@s@
Panel
Responder
TextField
Control
TextFieldCell
ActionCell
Times-Roman0
fVersion 1.3. Copyright 1992. Redistributable as
long as your recipients may redistribute freely.
Helvetica
FNeXT version by Eric Ly
Current maintainer:
melling@cs.psu.edu
Button
ButtonCell
ETRIS
KTetris was invented by a Soviet computer scientist
named Alexey Paszhitnov.
Symbol
Button1
Field1
Field2
VersionNumber
Field3
Field
Field4
MainMenu
MenuTemplate
*@*@ccc
Matrix
@:@iiii
MenuCell
Info Panel...
Help...
ff@@#::s
submenuAction:
menuArrow
Tools
Inspector...
High scores
MainWindow
Window
CustomView
TetMatrix
scoreKeeper
ScoreKeeper
Tetris is a game involving dropping blocks. As each block
drops, you move it by using:
`4' or `J' to move it left.
`6' or `L' to move it right.
`5' or `K' to rotate it counterclockwise.
`0', `2' or SPACE to drop the block quickly.
(The number keys only work on the keypad.) Points are scored
for each block which comes to rest on the gradually collecting
pile of blocks. Different blocks in different orientations score
different points. The goal is to prevent the pile from reaching
the top and ending the game. Whenever a row of blocks is
completely filled, it is removed and all blocks above it drop
down to fill the empty row.
returnSign
Scores
High scores
[10@]
Title
Helvetica-Bold
Level
Score
Field5G;
Field6I;
Field7K;
Field8M;
Field9O;
Matrix1S5
Matrix2k5
Inspector
Level Inspector
Black
OtherViews
PopUpList
popUp:
popup
Background
Monochrome
Color
FormCell
Block Size:
Field:
Scale
NXImage
NXswitch
NXswitchH
Scale Factor:
Blocks
Block Size
Form1
Scale Factor
MoreInfo
More Info
ScrollView
ClipView
ciifffcfffs
[2962c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
\margl40
\margr40
\f0\b0\i0\ul0\ql\fs24\fi0\li0\gray0\up0\dn0 The original version of Tetris on the
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 NeXT
\pard was done by Eric Ly. I am currently enhancing it to work with color blocks and different size blocks, as well as making other changes.\
Changes in Version 1.3\
\b0\ul Bug fixes
\ul0 \
* Most notably, the ghost row that appeared when all the \
rows became entirely filled. \
* The game should no longer periodically crash at the end of \
the game. \
\ul Enhancements
\ul0 \
* An option to allow allow random pieces to inserted into the \
game before it begins.\
* An option to play the game in black and white on a color \
machine. Let me know how it performs.\
* The Controls have been moved to a separate window, that \
moves with the game window.\
* Your current game settings are saved when you quit.\
* The game can be paused by hitting return, but it can not be \
restarted by hitting return(i.e. Known bug)\
\b To Do\
\b0 * Allow for background images.\
* Add sound.\
* Colorize the application's icon. Anyone artistic out there?\
* Finish the code to allow for different size blocks images.\
\b Potential Improvements \
\b0 (Let me know what you think. Suggestions are welcome.)\
* Demo mode.\
* Change the game play to the more traditional way of \
iterating through the levels. In other words, start at level 0 \
and work your way to 9, with an option to start at level 5.\
* Customize the levels. Some levels could have different \
blocks as well as different background images and sounds.\
\b Known Bugs
\b0 \
* Performance on color machines could be improved.\
* On color machines the 'next piece' is still in color. Bug or \
feature? I say feature.\
* When the color is turned off on a color NeXT, the \
monochrome blocks should magically appear?\
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 * Send any additional bug reports to melling@cs.psu.edu\
Please be as specific about the bug as possible. The game \
spews out status information when compiled with 'make \
debug'. This can sometimes be useful in identifying \
problems.\
\pard\b \
Contributors
\b0 \
Listed below i
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 n alphabetical order
\pard by
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 last name
\pard , are people who have contributed in one form or another to the development of Tetris on the NeXT. \
Denise
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 Blakel
\pard e
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 y
\pard \
Detlev Droege\
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 Eric Ly
\pard \
Denis Lynch\
Michael Mellinger\
NXCursor
NXibeam
Scroller
_doScroller:
@@@ffs
ScrollingText
ControlWindow
Controls
[15@]
New game
SCORE
Pause
NXreturnSign
LEVEL
scrollMenuLeft
scrollMenuLeftD
scrollMenuRight
scrollMenuRightD
Show next
switch
switchH
Random filled rows:
Color Off
Slider
SliderCell
NextMatrix
Random filled rows
Slider2
{i*@@@}
[39{i*@@@}]
hide:
terminate:
tetrisWindow
performClose:.
makeKeyAndOrderFront:
names
levels
scores
scoresWindow
tetrisView
controlWindow
showNext:
showNext
level
levelLeft
levelRight
pauseButton
pauseDisplay
startButton
score
start:
pause:
levelLeft:
levelRight:
adjustColor:
colorSwitch
setRandomRows:
randomField
randomFields
randomSlider
showNextSwitch